Skip to main content

Validate Bulk Transfer File

Use this endpoint to confirm your bulk transfer CSV file has all the necessary details needed and won't fail when uploaded for the bulk transfer transaction.

POST https://api.spotflow.co/api/v1/transfers/bulk/validate

Headers

authorization
String

Bearer SECRET_KEY
Include your secret key in the request header as a Bearer token for authorization. Unauthorized requests will result in a 401 HTTP status code.

content-type
String
application/json

Request Body Parameters

Add a form-data with a key of “file” in the request body. In the value tab, upload a CSV file of your bulk transfer. Ensure all the required fields such as the amount, currency, bank_code, branch_code, account_number, account_name, and narration are present in your CSV file before uploading it.

Sample Response:

200 OK

{
"failedRequests": [],
"totalRequests": 2
}